import mergeConfig from "../mergeConfig"

export default (newValue?: any) => {
    return mergeConfig({
        __sort__: ["title", "content", "color", "bgcolor", "top"],
        __type__: "notify",
        title: {
            name: "标题",
            type: "string",
            value: "支付助手"
        },
        content: {
            name: "内容",
            type: "string",
            value: "付款成功¥13.20（优惠价格）"
        },
        top: {
            name: "上边距",
            type: "number",
            value: 10
        },
        bgcolor: {
            name: "背景色",
            type: "color",
            value: "#f4e8c6"
        },
        color: {
            name: "文字色",
            type: "color",
            value: "#000000"
        }
    }, newValue)
}